package com.example.userservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.common.dto.*;
import com.example.userservice.entity.User;

public interface UserService {
    ApiResponse<Long> register(UserRegisterDTO registerDTO);
    ApiResponse<String> login(LoginDTO loginDTO);
    ApiResponse<Page<User>> listUsers(int pageNum, int pageSize);
    ApiResponse<User> getUserById(Long userId);
    ApiResponse<Void> updateUser(UserUpdateDTO updateDTO);
    ApiResponse<Void> resetPassword(PasswordResetDTO resetDTO);
}